package club.zhcs.capture.biz.dept;

import java.util.List;

import org.nutz.dao.entity.Record;

import club.zhcs.capture.bean.dept.Area;
import club.zhcs.capture.bean.dept.City;
import club.zhcs.capture.bean.dept.Province;
import club.zhcs.capture.bean.dept.Subsidiary;

import com.dgj.utils.entries.Result;
import com.dgj.utils.web.pager.Pager;

public interface ISubsidiaryService {

	List<Province> listProvince();

	List<City> listCity(String code);

	List<Area> listArea(String code);

	Result add(Subsidiary subsidiary);

	Pager<Subsidiary> listByPage(int page);

	boolean delete(int id);

	Pager<Subsidiary> search(int page, String key);

	Record getAllInfo(int id);

	Result update(Subsidiary subsidiary);

	List<Subsidiary> listAll();

}
